/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package swing;

import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;

/**
 *
 * @author Jime
 */
public class Swing {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        Inicio ini = new Inicio();
        ini.setVisible(true);  
        Properties properties = new Properties();
        //Logger logger = Logger.getLogger(Main.class);
        String valor=null;
        try {
            properties.load(new FileInputStream(new File("c:\\config\\configuration.properties")));
            valor = properties.getProperty("MensajeErrorCargarAplicacion");
            System.out.println(valor);
            //logger.error(valor);
        } catch (IOException ex) {
          // logger.error(valor);
        }
    }
}
